﻿<%@ Page Title="" Language="C#" MasterPageFile="~/manageback.master" AutoEventWireup="true" CodeFile="order_mange.aspx.cs" Inherits="manage_order_mange" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
    <style type="text/css">
        .style1
        {
            width: 100%;
        }
a{ text-decoration:none; color:Black; } 

    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<div>
    <table class="style1">
        <tr>
            <td colspan="2">
                &nbsp;</td>
        </tr>
        <tr>
            <td>
                订单号：</td>
            <td>
                <asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>
                <asp:Button ID="Button4" runat="server" onclick="Button4_Click" Text="搜索" />
            </td>
        </tr>
        
       
    </table>
 
    <asp:GridView ID="GridView1" runat="server" 
        Width="100%" AutoGenerateColumns="False" BackColor="White" 
        BorderColor="#999999" BorderStyle="Solid" BorderWidth="1px" CellPadding="3" 
        DataKeyNames="OrderID" ForeColor="Black" GridLines="Vertical">
        <AlternatingRowStyle BackColor="#CCCCCC" />
        <Columns>
            <asp:BoundField DataField="OrderID" HeaderText="订单ID" ReadOnly="True" 
                SortExpression="OrderID" />
            <asp:BoundField DataField="BookID" HeaderText="商品ID" 
                SortExpression="BookID" />
            <asp:BoundField DataField="Number" HeaderText="数量" 
                SortExpression="Number" />
            <asp:BoundField DataField="HotPrice" HeaderText="商品费用" 
                SortExpression="BooksFee" />
            <asp:BoundField DataField="RealName" HeaderText="收件人姓名" 
                SortExpression="ShipFee" />
            <asp:BoundField DataField="Phone" HeaderText="收件人电话" 
                SortExpression="ShipType" />
            <asp:CheckBoxField DataField="IsSend" HeaderText="是否发货" 
                SortExpression="IsSend" />
            <asp:CheckBoxField DataField="IsConfirm" HeaderText="是否确认" 
                SortExpression="IsConfirm" />
            <asp:BoundField DataField="OrderDate" HeaderText="下单时间" 
                SortExpression="OrderDate" />
            <asp:HyperLinkField HeaderText="管理" Text="管理" DataNavigateUrlFields="OrderID" 
                DataNavigateUrlFormatString="OrderInfo_update.aspx?orderid={0}" />
            <asp:TemplateField HeaderText="选择" SortExpression="IsSend">
                <EditItemTemplate>
                    <asp:CheckBox ID="CheckBox1" runat="server" />
                </EditItemTemplate>
                <ItemTemplate>
                    <asp:CheckBox ID="CheckBox1" runat="server" />
                </ItemTemplate>
            </asp:TemplateField>
        </Columns>
        <FooterStyle BackColor="#CCCCCC" />
        <HeaderStyle BackColor="Black" Font-Bold="True" ForeColor="White" />
        <PagerStyle BackColor="#999999" ForeColor="Black" HorizontalAlign="Center" />
        <SelectedRowStyle BackColor="#000099" Font-Bold="True" ForeColor="White" />
        <SortedAscendingCellStyle BackColor="#F1F1F1" />
        <SortedAscendingHeaderStyle BackColor="Gray" />
        <SortedDescendingCellStyle BackColor="#CAC9C9" />
        <SortedDescendingHeaderStyle BackColor="#383838" />
    </asp:GridView>
    <asp:LinqDataSource ID="LinqDataSource1" runat="server" 
        ContextTypeName="DataClassesDataContext" EntityTypeName="" 
        TableName="tb_OrderInfo">
    </asp:LinqDataSource>
    <asp:Button ID="Button2" runat="server" onclick="Button2_Click" Text="全选" />
    <asp:Button ID="Button3" runat="server" onclick="Button3_Click" Text="删除" />
</div>
</asp:Content>

